package com.manage.service;

import java.util.List;

import com.manage.model.SpCode;
import com.manage.model.SpCodeProvince;

public interface SpCodeService {
	public List<SpCode> getSpCodes();
	public List<SpCode> getSpCodes(int spId,String codeType);
	public List<SpCode> getSpCodesByStatus(int spId,String codeType);
	public SpCode getSpCodeById(int id);
	public boolean saveSpCode(String type,SpCode spCode,List<SpCodeProvince> list);
	
	//spcodeprovince
	public List<SpCodeProvince> getSpCodeProvinces(int spCodeId);
	//public boolean saveSpCodeProvince(String type,List<SpCodeProvince> list,int spCodeId);
}
